/* 新闻的样式文件 */
/* 将common.less引入到首页 @import"文件名" */
@import "common";
* {
    touch-action: pan-y;
}
body {
    background-color: #fff;
}
/* 页面元素rem 计算公式：元素  / html字体大小(50) */
@basefont:50;
/* top栏部分 */
.nav_top {
    position: fixed;
    top: 0;
    border-bottom: (0.5rem / @basefont) solid #eee;
    box-sizing: border-box;
    height: (103rem / @basefont);
    width: (750rem / @basefont);
    text-align: center;
    background-color: #fff;
    .return_box {
        //position: absolute;
        //left: 0;
        width: 15%;
        .return {
            //margin-left: (29rem / @basefont);
            height: 100%;
            font-family: 'icomoon';
            font-size: (45rem / @basefont);
            line-height: (105rem / @basefont);
            /* color: #333; */
        }
    }
    .nav_title {
        width: 70%;
        /* font-size: (37.5rem / @basefont);
        color: #333;
        //超出文字省略
        overflow:hidden;
        text-overflow:ellipsis;
        display: -webkit-box;
        -webkit-line-clamp:1;   //在第几行加省略号
        -webkit-box-orient:vertical; */
    }
    .return_index {
        width: 15%;
        font-size: (35rem / @basefont);
        font-weight: 300;
        font-family: 'icomoon';
    }
}
/* 文章部分 */
.article_page {
    margin-top: (145rem / @basefont);
    padding: (36rem / @basefont);
    box-sizing: border-box;
    width: (750rem / @basefont);
    //标题 时间 作者部分
    .article_top {
        margin-top: (13.2rem / @basefont);
        width: 100%;
        .article_title {
            font-size: (40rem / @basefont);
            color: #333;
        }
        .article_time {
            margin: 0;
            font-size: (25rem / @basefont);
            color: #b3b3b3;
            span {
                margin-right: (30rem / @basefont);
            }
            .article_author {
                font-size: (22rem / @basefont);
            }
        }
    }
    //文章内容
    .article_body {
        margin-top: (58rem / @basefont);
        margin-bottom:(340rem / @basefont);
        padding-top: (115.2rem / @basefont);
        font-size: (35rem / @basefont);
        font-family: '微软雅黑';
        color: #666;
        img {
            width: 100%;
            border-radius: (10rem / @basefont);
            margin: (10rem / @basefont) 0;
        }
        p {
            margin-bottom: (100rem / @basefont);
            line-height: 1.2rem ;
            text-indent: (50rem / @basefont);
            text-align: left;
        }
    }
}
/* 底部栏 */
.bottom_nav {
    position: fixed;
    bottom: 0;
    border-top: (1.2rem / @basefont) solid #e5e5e5;
    box-sizing: border-box;
    height: (96rem / @basefont);
    width: (750rem / @basefont);
    background-color: #fff;
    .share {
        position: relative;
        height: 100%;
        width: 100%;
        font-family: 'icomoon';
        font-size: (50rem / @basefont);
        font-weight: 300;
        a {
            display: block;
            height: 100%;
            width: 100%;
            text-align: center;
        }
    }
}
/* 分享弹窗部分 */
.share_to {
    //display: block;
    display: none;
    z-index: 10;
    position: fixed;
    bottom: 0;
    width: (750rem / @basefont);
    height: (519.4rem / @basefont);
    transform: translateY(100%);
    background-color: #fff;
    //border-radius: (50rem / @basefont);
    border-top-right-radius: (20rem / @basefont);
    border-top-left-radius: (20rem / @basefont);
    border-top: (1.25rem / @basefont) solid #eee;
    box-sizing: border-box;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    .share_box {
        position: relative;
        height: 100%;
        width: 100%;
        text-align: center;
        .share_top {
            margin-top: (30rem / @basefont);
            //margin-bottom: (60rem / @basefont);
            display: block;
            font-size: (32.5rem / @basefont);
            //background-color: skyblue;
        }
        .share_to_app {
            display: flex;
            flex-direction: column;
            height: (384rem / @basefont);
            //background-color: pink;
            .line_1 {
                flex: 1;
                display: flex;
                //background-color: skyblue; 
                a {
                    flex: 1;
                    text-align: center;
                    .font_style {
                        margin: (21.6rem / @basefont) ((750 / 4 - 103rem) / @basefont / 2);
                        //margin-bottom: 0;
                        border-radius: (103rem / @basefont / 2);
                        height: (103rem / @basefont);
                        width: (103rem / @basefont);
                        background-color: #46d42f;
                        line-height: (103rem / @basefont);
                        .iconfont {
                            font-size: (55rem / @basefont);
                            color: #fff;
                        }
                    }
                    .font_class {
                        float: left;
                        width: 100%;
                        font-size: (30rem / @basefont);
                        color: #333;
                    }
                }
                .ewm {
                    .font_style {
                        background-color: #fa8844;
                    }
                }
                .xl {
                    .font_style {
                        background-color: #f44336;
                    }
                }
                .qqkj {
                    .font_style {
                        line-height: (95rem / @basefont);
                        background-color: #ffce01;
                    }
                }
            }
            .line_2 {
                margin-top: (10rem / @basefont);
                flex: 1;
                display: flex;
                //background-color: slateblue;
                a {
                    flex: 1;
                    text-align: center;
                    .font_style {
                        margin: (21.6rem / @basefont) ((750 / 4 - 103rem) / @basefont / 2);
                        //margin-bottom: 0;
                        border-radius: (103rem / @basefont / 2);
                        height: (103rem / @basefont);
                        width: (103rem / @basefont);
                        background-color: #46d42f;
                        line-height: (103rem / @basefont);
                        .iconfont {
                            font-size: (55rem / @basefont);
                            color: #fff;
                        }
                    }
                    .font_class {
                        float: left;
                        width: 100%;
                        font-size: (30rem / @basefont);
                        color: #333;
                    }
                }
                .qq {
                    .font_style {
                        background-color: #1f91ff;
                    }
                    
                }
                .dbw {
                    .font_style {
                        .iconfont {
                            font-size: (45rem / @basefont);
                        }
                        background-color: #43c332;
                    }
                }
                .bdtb {
                    .font_style {
                        .iconfont {
                            font-size: (45rem / @basefont);
                        }
                        background-color: #3986fb;
                    }
                }
                .fzlj {
                    .font_style {
                        background-color: #03c4b6;
                    }
                }
            }
        }
    }
    
}